/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/layout/index.vue'

const liveMangmentRouter = {
  path: '/live-management',
  component: Layout,
  meta: {
    title: '管理',
    // icon: 'Avatar',
    svgIcon: 'live-svg'
  },
  redirect: 'noredirect',
  children: [
    {
      path: 'live-control',
      name: 'LiveControl',
      component: () => import('@/views/live-management/live-control/index.vue'),
      meta: { title: '嘿嘿', keepAlive: false }
    },
    {
      path: 'lucky-bag',
      component: () => import('@/views/live-management/lucky-bag/index.vue'),
      name: 'LuckBbag',
      meta: { title: '幸运儿', keepAlive: false }
    }
    // {
    //   path: 'winning-record',
    //   component: () => import('@/views/live-management/lucky-bag/winning-record.vue'),
    //   name: 'WinningRecord',
    //   meta: { title: '幸运儿详情', hidden: true, keepAlive: false }
    // }
  ]
}

export default liveMangmentRouter
